[INFO] cloning repository https://github.com/LiquidZHR/DLLInjector-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiquidZHR/DLLInjector-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9647c00c11e670f000e47f4ef4247476ae8952d0
[INFO] checking LiquidZHR/DLLInjector-rs against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LiquidZHR/DLLInjector-rs on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs
[INFO] finished tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs
[INFO] tweaked toml for git repo https://github.com/LiquidZHR/DLLInjector-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/LiquidZHR/DLLInjector-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6dd6f25c3c27649a9dfd866267b55de2ab4e498d274bf620c0ba0bee5c9723de
[INFO] running `Command { std: "docker" "start" "-a" "6dd6f25c3c27649a9dfd866267b55de2ab4e498d274bf620c0ba0bee5c9723de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6dd6f25c3c27649a9dfd866267b55de2ab4e498d274bf620c0ba0bee5c9723de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dd6f25c3c27649a9dfd866267b55de2ab4e498d274bf620c0ba0bee5c9723de", kill_on_drop: false }`
[INFO] [stdout] 6dd6f25c3c27649a9dfd866267b55de2ab4e498d274bf620c0ba0bee5c9723de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 514b863af6dc191fdcde39a5c74bbc941adde609aca7f81a140734116d457b51
[INFO] running `Command { std: "docker" "start" "-a" "514b863af6dc191fdcde39a5c74bbc941adde609aca7f81a140734116d457b51", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling libc v0.2.108
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling sysinfo v0.20.5
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking DLLInjector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::memoryapi::{VirtualAllocEx, WriteProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::GetProcAddress;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winuser::MessageBoxA;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::processthreadsapi::{CreateRemoteThread, OpenProcess};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::libloaderapi::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ptr::{null, null_mut};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `thread_func` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |             type thread_func = unsafe extern "system" fn(LPVOID)->DWORD;
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreadFunc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::memoryapi::{VirtualAllocEx, WriteProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::GetProcAddress;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winuser::MessageBoxA;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::processthreadsapi::{CreateRemoteThread, OpenProcess};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::libloaderapi::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ptr::{null, null_mut};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `thread_func` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |             type thread_func = unsafe extern "system" fn(LPVOID)->DWORD;
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreadFunc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_process_by_name(pName:&str) -> Vec<usize> {
[INFO] [stdout]    |                                           ---------- expected `Vec<usize>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 34 |                     process_vec.push(pid.clone());
[INFO] [stdout]    |                     -----------      ----------- this argument has type `i32`...
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     ... which causes `process_vec` to have type `Vec<i32>`
[INFO] [stdout] ...
[INFO] [stdout] 38 |             process_vec
[INFO] [stdout]    |             ^^^^^^^^^^^ expected `Vec<usize>`, found `Vec<i32>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<usize>`
[INFO] [stdout]               found struct `Vec<i32>`
[INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     process_vec.push(pid.clone().try_into().unwrap());
[INFO] [stdout]    |                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn get_process_by_name(pName:&str) -> Vec<usize> {
[INFO] [stdout]    |                                           ---------- expected `Vec<usize>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 34 |                     process_vec.push(pid.clone());
[INFO] [stdout]    |                     -----------      ----------- this argument has type `i32`...
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     ... which causes `process_vec` to have type `Vec<i32>`
[INFO] [stdout] ...
[INFO] [stdout] 38 |             process_vec
[INFO] [stdout]    |             ^^^^^^^^^^^ expected `Vec<usize>`, found `Vec<i32>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<usize>`
[INFO] [stdout]               found struct `Vec<i32>`
[INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     process_vec.push(pid.clone().try_into().unwrap());
[INFO] [stdout]    |                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `DLLInjector` (bin "DLLInjector") due to 9 previous errors; 2 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `DLLInjector` (bin "DLLInjector" test) due to 9 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "514b863af6dc191fdcde39a5c74bbc941adde609aca7f81a140734116d457b51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "514b863af6dc191fdcde39a5c74bbc941adde609aca7f81a140734116d457b51", kill_on_drop: false }`
[INFO] [stdout] 514b863af6dc191fdcde39a5c74bbc941adde609aca7f81a140734116d457b51
